/**
 * 路由
 */
import Vue from "vue";
import VueRouter from 'vue-router'
import routes from '@/router'

Vue.use(VueRouter);
var router = new VueRouter({
    base: '/',
    mode: 'history',
    routes
})


router.beforeEach((to, from, next) => {
    next();
});

export default router
